package com.lanxiao.cloud.modules.oauth.application.dto;

import com.lanxiao.cloud.common.core.enums.StateEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author ：qiaoliang
 * @date ：2021-09-16
 */
@ApiModel("角色查询模型")
public class RoleQuery {
  @ApiModelProperty(value = "名称")
  private String name;
  @ApiModelProperty(value = "标识")
  private String mark;
  @ApiModelProperty(value = "状态")
  private StateEnum state;

  private RoleQuery() {
  }

  public RoleQuery(String name, String mark, StateEnum state) {
    this.name = name;
    this.mark = mark;
    this.state = state;
  }

  public String getName() {
    return name;
  }

  public String getMark() {
    return mark;
  }

  public StateEnum getState() {
    return state;
  }
}
